package com.bdmc.report.domain.bo;

import com.bdmc.common.core.domain.BaseSingleEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDate;

;
/**
 * 工作时间距离统计业务对象 report_person_miles
 *
 * @author bdmc
 * @date 2022-08-11
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ReportPersonMilesBo extends BaseSingleEntity {


    private Integer PersonMilesId;
    
    private Integer personId;
    
    private BigDecimal miles;
    
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate dataTime;
    
    private Integer workTime;

    private Integer deptId;

    private String deptName;

    private String personName;

    private String fenceName;
}
